<?php include(APPPATH.'views/header.php'); ?>
<script language="javascript" type="text/javascript" src="/js/My97DatePicker/WdatePicker.js"></script>
<div class="pay_block">
<div class="pay_block_left">
<h2>个人中心</h2>
<div class="left_menu">
<div class="please">欢迎来到个人中心：</div>
  <ul><?php include('left.php');?></ul>
<div class="customer_service">
<p style="padding:55px 10px 10px 20px;">
在线时间：<br/>
每天10:00-18:00</p>
<p style="padding:15px 15px 10px 48px;">
<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=871705602&site=qq&menu=yes">点击这里<br />给我发消息</a></p>
<!--QQ在线，以上，请把871705602测试账号改成客服中心的正确号码-->
<p style="padding:25px 0px 10px 10px;">平台充值问题专区：</p>
<p style="padding:5px 15px 10px 50px;"><a href="#">点击进入</a></p>
</div>  
<!--客服结束-->    
 </div>
<div class="left_bottom_bg"></div>   
</div>
<div class="pay_block_right">
<div class="title1">
  <h2 class="bank_7">修改我的资料</h2> 
</div>
<div class="form_box2">
  <table width="650" border="0" align="center" cellpadding="0" cellspacing="0"  class="table1">
  <tr>
    <td class="ld">通行证：</td>
    <td>
        <?=$user_info['passport'];?>
        <!--<input name="textfield" type="text" value="zqhjerry@tom.com" />-->
    </td>
  </tr>
  <tr>
    <td class="ld">昵称：</td>
    <td>
        <?=$user_info['nickname'];?>
        <!--<input name="textfield2" type="text" value="黑夜泪滴" />-->
        </td>
  </tr>
  <tr>
    <td class="ld">防沉迷验证：</td>
    <td><input name="id_card" type="text" value="<?=isset ($user_info['id_card']) ? $user_info['id_card'] : '';?>" id="id_card"/>
      <span class="color1">(身份证号)</span></td>
  </tr>
  <tr>
    <td class="ld">性别：</td>
    <td>
	   <label><input name="sex" type="radio" value="1" <?=(isset ($user_info['sex']) && $user_info['sex'] == '1') ? 'checked="checked"' : '';?>/> 男 </label>
	   <label><input name="sex" type="radio" value="2" <?=(isset ($user_info['sex']) && $user_info['sex'] == '2') ? 'checked="checked"' : '';?>/>  女 </label>
	 </td>
  </tr>
  <tr>
    <td class="ld">生日：</td>
    <td>
	<input name="birthday" type="text" style="width:90px"  onclick="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd',alwaysUseStartDate:true})"
           value="<?=isset ($user_info['birthday']) ? $user_info['birthday'] : '';?>" id="birthday">
	<span class="color1">(出生日期)</span>
	</td>
  </tr>
  <tr>
    <td class="ld">居住地：</td>
    <td><!--<input name="adress" type="text" value="<?=$user_info['address'];?>" size="50"  id="address"/>-->
        <select id="address" name="adress">
            <option value="0">省份</option>
            <?php foreach ($province as $v) {?>
            <option value="<?=$v;?>" <?=(isset($user_info['address']) && $v == $user_info['address']) ? 'selected="selected"' : '';?>><?=$v;?></option>
            <?php }?>
        </select>
    </td>
  </tr>
  <tr>
    <td class="ld">手机：</td>
    <td><input name="phone" type="text" value="<?=isset($user_info['phone']) ? $user_info['phone'] : '';?>"  id="phone"/></td>
  </tr>
  <tr>
    <td class="ld">邮箱：</td>
    <td><input name="email" type="text" value="<?=isset($user_info['email']) ? $user_info['email'] : '';?>"  id="email"/></td>
  </tr>
</table>
<div class="box1" style="padding-left:300px;">
    <input name="提交" type="submit" value="保存修改" class="button3" onclick="user.modifyProfile()"/>
    <input name="按钮" type="button" value="不理返回" class="button6" onclick="wq.goToUrl('/user/center/profile')"/>
</div>
</div>
</div>
<!--主体部分结束-->
<?php include(APPPATH.'views/footer.php');?>